package cn.sjx.graduate.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 *
 * </p>
 *
 * @author bo-feifei
 * @since 2021-11-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "教职工类别", description = "")
public class StaffType implements Serializable {

    private static final long serialVersionUID = 1L;

    public static final Integer LOW = 1;
    public static final Integer MIDDLE = 2;
    public static final Integer HIGHT = 3;

    @ApiModelProperty(value = "职工类别id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "职工类别")
    private String staffType;

    @ApiModelProperty(value = "职工基础工资")
    private BigDecimal baseSalary;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public static Integer getLOW() {
        return LOW;
    }

    public static Integer getMIDDLE() {
        return MIDDLE;
    }

    public static Integer getHIGHT() {
        return HIGHT;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getStaffType() {
        return staffType;
    }

    public void setStaffType(String staffType) {
        this.staffType = staffType;
    }

    public BigDecimal getBaseSalary() {
        return baseSalary;
    }

    public void setBaseSalary(BigDecimal baseSalary) {
        this.baseSalary = baseSalary;
    }
}
